package com.le.tester.leetcode;

/**
 * 描述：x的平方根
 */
public class Sqrt {
    public int mySqrt(int x) {
        double sqrt = Math.sqrt(x);
        return (int) sqrt;
    }

    public static void main(String[] args) {
        new Sqrt().mySqrt(8);
    }
}
